//
//  PicCollectionViewCell.swift
//  Swift微博
//
//  Created by adel on 2017/8/29.
//  Copyright © 2017年 com.bailun91. All rights reserved.
//

import UIKit
import SDWebImage
class PicCollectionViewCell: UICollectionViewCell {
    
    @IBOutlet weak var iconView: UIImageView!
    
    var picURL :URL?{
        
        didSet{
            
            guard let picURL = picURL else {
                return
            }
            
            iconView.sd_setImage(with: picURL, placeholderImage: UIImage(named: "empty_picture"))
        }
    }
    
}
